<?php
/**
 * Created by PhpStorm.
 * User: liaosp
 * Date: 2018/9/18
 * Time: 8:54
 * ......................我佛慈悲......................
 *                       _oo0oo_
 *                      o8888888o
 *                      88" . "88
 *                      (| -_- |)
 *                      0\  =  /0
 *                    ___/`---'\___
 *                  .' \\|     |// '.
 *                 / \\|||  :  |||// \
 *                / _||||| -卍-|||||- \
 *               |   | \\\  -  /// |   |
 *               | \_|  ''\---/''  |_/ |
 *               \  .-\__  '-'  ___/-. /
 *             ___'. .'  /--.--\  `. .'___
 *          ."" '<  `.___\_<|>_/___.' >' "".
 *         | | :  `- \`.;`\ _ /`;.`/ - ` : | |
 *         \  \ `_.   \_ __\ /__ _/   .-` /  /
 *     =====`-.____`.___ \_____/___.-`___.-'=====
 *                       `=---='
 *
 *..................佛祖开光 ,永无BUG...................
 */
header("Content-Type: text/html; charset=UTF-8");
define('THINKSP', getcwd());
define('CORE', THINKSP . '/core/');
define('APP', THINKSP . '/app/');
define('MODULE','app');
define('DEBUG', true);

if ('DEBUG' == true) {
    ini_set('display_error', true);
} else {
    ini_set('display_error', false);
}
//加载公用函数
require CORE.'common/function.php';
require_once CORE.'Thinksp.php';
require_once THINKSP.'/vendor/autoload.php';
spl_autoload_register('\core\Thinksp::load');
